package org.br.erp.base.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @Description: 库存状态
 * @Author: jeecg-boot
 * @Date:   2022-09-07
 * @Version: V1.0
 */
@Data
@TableName("scmstocktype")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="scmstocktype对象", description="库存状态")
@Entity
public class Scmstocktype implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**状态编号*/
	@Excel(name = "状态编号", width = 15)
    @ApiModelProperty(value = "状态编号")
    private java.lang.String stockcode;
	/**状态名称*/
	@Excel(name = "状态名称", width = 15)
    @ApiModelProperty(value = "状态名称")
    private java.lang.String stockname;
    /*
    * 库存状态类型
    * keyong 可用
    * daijian 待检
    * dongjie   冻结
    * tuihuidj  退回冻结
    * zaitu 在途
    * shouhuodj 收货冻结
    * feipin    废品
    * buliang   不良
    * bucanyuhs 不参与核算
    *
    * */
    @Column(length = 20)
    private String stocktypelist;
    @Column(length = 10)
    private String canuse;
    @Column(length = 10)
    private String notsale;
    @Column(length = 10)
    private String notoutstock;
    @Column(length = 10)
    private String canlock;
    @Column(length = 10)
    private String canmrp;
    @Column(length = 10)
    private String canalter;

}
